Optimal. Leaf size=161 \[ -\frac{2 \sqrt{e+f x} \sqrt{\frac{(c+d x) (f g-e h)}{(e+f x) (d g-c h)}} \text{EllipticF}\left (\tan ^{-1}\left (\frac{\sqrt{g+h x} \sqrt{b e-a f}}{\sqrt{a+b x} \sqrt{f g-e h}}\right ),\frac{(b g-a h) (d e-c f)}{(b e-a f) (d g-c h)}\right )}{\sqrt{c+d x} \sqrt{b e-a f} \sqrt{f g-e h}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0820603, antiderivative size = 198, normalized size of antiderivative = 1.23, number of steps used = 2, number of rules used = 2, integrand size = 37, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.054, Rules used = {170, 419} \[ \frac{2 \sqrt{g+h x} \sqrt{\frac{(c+d x) (b e-a f)}{(a+b x) (d e-c f)}} F\left (\sin ^{-1}\left (\frac{\sqrt{b g-a h} \sqrt{e+f x}}{\sqrt{f g-e h} \sqrt{a+b x}}\right )|-\frac{(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{\sqrt{c+d x} \sqrt{b g-a h} \sqrt{f g-e h} \sqrt{-\frac{(g+h x) (b e-a f)}{(a+b x) (f g-e h)}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 170
Rule 419
Rubi steps
\begin{align*} \int \frac{1}{\sqrt{a+b x} \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}} \, dx &=\frac{\left (2 \sqrt{\frac{(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt{g+h x}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{1+\frac{(b c-a d) x^2}{d e-c f}} \sqrt{1-\frac{(b g-a h) x^2}{f g-e h}}} \, dx,x,\frac{\sqrt{e+f x}}{\sqrt{a+b x}}\right )}{(f g-e h) \sqrt{c+d x} \sqrt{-\frac{(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}}\\ &=\frac{2 \sqrt{\frac{(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt{g+h x} F\left (\sin ^{-1}\left (\frac{\sqrt{b g-a h} \sqrt{e+f x}}{\sqrt{f g-e h} \sqrt{a+b x}}\right )|-\frac{(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{\sqrt{b g-a h} \sqrt{f g-e h} \sqrt{c+d x} \sqrt{-\frac{(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}}\\ \end{align*}
Mathematica [A] time = 1.2895, size = 227, normalized size = 1.41 \[ -\frac{2 \sqrt{a+b x} \sqrt{g+h x} \sqrt{\frac{(c+d x) (b g-a h)}{(a+b x) (d g-c h)}} \sqrt{\frac{(e+f x) (b g-a h)}{(a+b x) (f g-e h)}} \text{EllipticF}\left (\sin ^{-1}\left (\sqrt{\frac{(g+h x) (a f-b e)}{(a+b x) (f g-e h)}}\right ),\frac{(a d-b c) (e h-f g)}{(b e-a f) (d g-c h)}\right )}{\sqrt{c+d x} \sqrt{e+f x} (b g-a h) \sqrt{\frac{(g+h x) (a f-b e)}{(a+b x) (f g-e h)}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.059, size = 270, normalized size = 1.7 \begin{align*} 2\,{\frac{a{f}^{2}h{x}^{2}-b{f}^{2}g{x}^{2}+2\,aefhx-2\,befgx+a{e}^{2}h-b{e}^{2}g}{\sqrt{hx+g}\sqrt{fx+e}\sqrt{dx+c}\sqrt{bx+a} \left ( eh-fg \right ) \left ( af-be \right ) }\sqrt{{\frac{ \left ( af-be \right ) \left ( hx+g \right ) }{ \left ( ah-bg \right ) \left ( fx+e \right ) }}}\sqrt{{\frac{ \left ( eh-fg \right ) \left ( dx+c \right ) }{ \left ( ch-dg \right ) \left ( fx+e \right ) }}}\sqrt{{\frac{ \left ( eh-fg \right ) \left ( bx+a \right ) }{ \left ( ah-bg \right ) \left ( fx+e \right ) }}}{\it EllipticF} \left ( \sqrt{{\frac{ \left ( af-be \right ) \left ( hx+g \right ) }{ \left ( ah-bg \right ) \left ( fx+e \right ) }}},\sqrt{{\frac{ \left ( ah-bg \right ) \left ( cf-de \right ) }{ \left ( ch-dg \right ) \left ( af-be \right ) }}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{b x + a} \sqrt{d x + c} \sqrt{f x + e} \sqrt{h x + g}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{b x + a} \sqrt{d x + c} \sqrt{f x + e} \sqrt{h x + g}}{b d f h x^{4} + a c e g +{\left (b d f g +{\left (b d e +{\left (b c + a d\right )} f\right )} h\right )} x^{3} +{\left ({\left (b d e +{\left (b c + a d\right )} f\right )} g +{\left (a c f +{\left (b c + a d\right )} e\right )} h\right )} x^{2} +{\left (a c e h +{\left (a c f +{\left (b c + a d\right )} e\right )} g\right )} x}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{a + b x} \sqrt{c + d x} \sqrt{e + f x} \sqrt{g + h x}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{b x + a} \sqrt{d x + c} \sqrt{f x + e} \sqrt{h x + g}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]